export const departmentList = [
  { key: 1, text: '外科' },
  { key: 2, text: '內科' },
  { key: 3, text: '儿科' },
  { key: 4, text: '骨科' },
  { key: 5, text: '妇科' },
  { key: 6, text: '眼科' },
  { key: 7, text: '耳鼻喉科' },
  { key: 8, text: '口腔科' },
  { key: 9, text: '皮肤科' },
  { key: 10, text: '传染科' },
  { key: 11, text: '预防保健科' }
]

export const carTypeList = [
  { key: 1, text: '居民身份证' },
  { key: 2, text: '港澳台同胞证' },
  { key: 3, text: '外国人永久居住证' }
]

export const nurseLevelList = [
  { key: 1, text: '实习护士' },
  { key: 2, text: '初级护士' },
  { key: 3, text: '高级护师' },
  { key: 4, text: '主任护师' }
]

export const doctorLevelList = [
  { key: 1, text: '实习医师' },
  { key: 2, text: '住院医师' },
  { key: 3, text: '主治医师' },
  { key: 4, text: '主任医师' }
]
export const stateList = [
  { key: 1, text: '出院' },
  { key: 2, text: '住院' },
  { key: 3, text: '康复' },
  { key: 4, text: '观察' }
]
export const departmentFilter = (department) => {
  switch (department) {
    case 1 : return '外科'
    case 2 : return '内科'
    case 3 : return '儿科'
    case 4 : return '骨科'
    case 5 : return '妇科'
    case 6 : return '眼科'
    case 7 : return '耳鼻喉科'
    case 8 : return '口腔科'
    case 9 : return '皮肤科'
    case 10 : return '传染科'
    case 11 : return '预防保健科'
    default: return ''
  }
}

export const doctorLevelFilter = (level) => {
  switch (level) {
    case 1 : return '实习医师'
    case 2 : return '住院医师'
    case 3 : return '主治医师'
    case 4 : return '主任医师'
    default: return ''
  }
}

export const nurseLevelFilter = (level) => {
  switch (level) {
    case 1 : return '实习护士'
    case 2 : return '初级护士'
    case 3 : return '高级护师'
    case 4 : return '主任护师'
    default: return ''
  }
}

export const carTypeFilter = (carType) => {
  switch (carType) {
    case 1 : return '居民身份证'
    case 2 : return '港澳台同胞证'
    case 3 : return '外国人永久居住证'
    default: return ''
  }
}
export const stateFilter = (state) => {
  switch (state) {
    case 1: return '出院'
    case 2: return '住院'
    case 3: return '康复'
    case 4: return '观察'
    default: return ''
  }
}
